package com.dms.system.domain.dto;

import com.dms.system.domain.SysPlant;

import java.util.List;

/**
 * @author xlong_zhu
 */
public class SysAreaDTO {
    /** 区域编号 */
    private Long areaId;

    /** 区域名 */
    private String areaName;

    /** 该区域下的所有设备 */
    private List<SysPlant> plantList;

    public Long getAreaId() {
        return areaId;
    }

    public void setAreaId(Long areaId) {
        this.areaId = areaId;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    public List<SysPlant> getPlantList() {
        return plantList;
    }

    public void setPlantList(List<SysPlant> plantList) {
        this.plantList = plantList;
    }

    @Override
    public String toString() {
        return "SysAreaDTO{" +
                "areaId=" + areaId +
                ", areaName='" + areaName + '\'' +
                ", plantList=" + plantList +
                '}';
    }
}
